﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CA7 RID: 3239
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OJNBGOAJBAL : IMessage<OJNBGOAJBAL>, IMessage, IEquatable<OJNBGOAJBAL>, IDeepCloneable<OJNBGOAJBAL>, IBufferMessage
	{
		// Token: 0x170028B6 RID: 10422
		// (get) Token: 0x0600908F RID: 37007 RVA: 0x0017FB74 File Offset: 0x0017DD74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OJNBGOAJBAL> Parser
		{
			get
			{
				return OJNBGOAJBAL._parser;
			}
		}

		// Token: 0x170028B7 RID: 10423
		// (get) Token: 0x06009090 RID: 37008 RVA: 0x0017FB7B File Offset: 0x0017DD7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OJNBGOAJBALReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170028B8 RID: 10424
		// (get) Token: 0x06009091 RID: 37009 RVA: 0x0017FB8D File Offset: 0x0017DD8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OJNBGOAJBAL.Descriptor;
			}
		}

		// Token: 0x06009092 RID: 37010 RVA: 0x0017FB94 File Offset: 0x0017DD94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJNBGOAJBAL()
		{
		}

		// Token: 0x06009093 RID: 37011 RVA: 0x0017FB9C File Offset: 0x0017DD9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJNBGOAJBAL(OJNBGOAJBAL other) : this()
		{
			this.hKGAGGDOCFC_ = other.hKGAGGDOCFC_;
			this.hIHKPOAJBHK_ = other.hIHKPOAJBHK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009094 RID: 37012 RVA: 0x0017FBCD File Offset: 0x0017DDCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJNBGOAJBAL Clone()
		{
			return new OJNBGOAJBAL(this);
		}

		// Token: 0x170028B9 RID: 10425
		// (get) Token: 0x06009095 RID: 37013 RVA: 0x0017FBD5 File Offset: 0x0017DDD5
		// (set) Token: 0x06009096 RID: 37014 RVA: 0x0017FBDD File Offset: 0x0017DDDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HKGAGGDOCFC
		{
			get
			{
				return this.hKGAGGDOCFC_;
			}
			set
			{
				this.hKGAGGDOCFC_ = value;
			}
		}

		// Token: 0x170028BA RID: 10426
		// (get) Token: 0x06009097 RID: 37015 RVA: 0x0017FBE6 File Offset: 0x0017DDE6
		// (set) Token: 0x06009098 RID: 37016 RVA: 0x0017FBEE File Offset: 0x0017DDEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HIHKPOAJBHK
		{
			get
			{
				return this.hIHKPOAJBHK_;
			}
			set
			{
				this.hIHKPOAJBHK_ = value;
			}
		}

		// Token: 0x06009099 RID: 37017 RVA: 0x0017FBF7 File Offset: 0x0017DDF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OJNBGOAJBAL);
		}

		// Token: 0x0600909A RID: 37018 RVA: 0x0017FC05 File Offset: 0x0017DE05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OJNBGOAJBAL other)
		{
			return other != null && (other == this || (this.HKGAGGDOCFC == other.HKGAGGDOCFC && this.HIHKPOAJBHK == other.HIHKPOAJBHK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600909B RID: 37019 RVA: 0x0017FC44 File Offset: 0x0017DE44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HKGAGGDOCFC)
			{
				num ^= this.HKGAGGDOCFC.GetHashCode();
			}
			if (this.HIHKPOAJBHK != 0U)
			{
				num ^= this.HIHKPOAJBHK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600909C RID: 37020 RVA: 0x0017FC9C File Offset: 0x0017DE9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600909D RID: 37021 RVA: 0x0017FCA4 File Offset: 0x0017DEA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600909E RID: 37022 RVA: 0x0017FCB0 File Offset: 0x0017DEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HIHKPOAJBHK != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.HIHKPOAJBHK);
			}
			if (this.HKGAGGDOCFC)
			{
				output.WriteRawTag(120);
				output.WriteBool(this.HKGAGGDOCFC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600909F RID: 37023 RVA: 0x0017FD0C File Offset: 0x0017DF0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HKGAGGDOCFC)
			{
				num += 2;
			}
			if (this.HIHKPOAJBHK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HIHKPOAJBHK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060090A0 RID: 37024 RVA: 0x0017FD58 File Offset: 0x0017DF58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OJNBGOAJBAL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HKGAGGDOCFC)
			{
				this.HKGAGGDOCFC = other.HKGAGGDOCFC;
			}
			if (other.HIHKPOAJBHK != 0U)
			{
				this.HIHKPOAJBHK = other.HIHKPOAJBHK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060090A1 RID: 37025 RVA: 0x0017FDA8 File Offset: 0x0017DFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060090A2 RID: 37026 RVA: 0x0017FDB4 File Offset: 0x0017DFB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.HKGAGGDOCFC = input.ReadBool();
					}
				}
				else
				{
					this.HIHKPOAJBHK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003721 RID: 14113
		private static readonly MessageParser<OJNBGOAJBAL> _parser = new MessageParser<OJNBGOAJBAL>(() => new OJNBGOAJBAL());

		// Token: 0x04003722 RID: 14114
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003723 RID: 14115
		public const int HKGAGGDOCFCFieldNumber = 15;

		// Token: 0x04003724 RID: 14116
		private bool hKGAGGDOCFC_;

		// Token: 0x04003725 RID: 14117
		public const int HIHKPOAJBHKFieldNumber = 2;

		// Token: 0x04003726 RID: 14118
		private uint hIHKPOAJBHK_;
	}
}
